package com.draven.management.controller;

import com.draven.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Draven on 2017/4/6.
 * E-mail:draven1122@163.com
 */
@Controller
@RequestMapping("/management/hello")
public class TestController {
    @Autowired
    private UserService userService;
    @RequestMapping("")
    public ModelAndView test() throws Exception {
        ModelAndView modelAndView = new ModelAndView("/management/common/index");
        return modelAndView;

    }
}
